#ifndef _USBDISK_H_
#define _USBDISK_H_

#include "integer.h"

#ifdef __cplusplus
extern "C" {
#endif

extern int USB_disk_status(void);
extern int USB_disk_initialize(void);
extern int USB_disk_read(
						BYTE *buff,		/* Data buffer to store read data */
						DWORD sector,	/* Sector address in LBA */
						UINT count		/* Number of sectors to read */
						);
extern int USB_disk_write(
						const BYTE *buff,		/* Data buffer to store read data */
						DWORD sector,	/* Sector address in LBA */
						UINT count		/* Number of sectors to read */
						);
extern int USB_disk_ioctl(
						BYTE cmd,		/* Control code */
						void *buff		/* Buffer to send/receive control data */
						);


#ifdef __cplusplus
}
#endif

#endif